package cn.sppxpp;

import cn.sppxpp.model.UserInfo;
import java.io.IOException;

/**
 * @author spp
 * @date 2020-10-26 21:00
 **/
public class Test {

    public static void main(String[] args) throws IOException {
        ApplicationContext applicationContext = new ApplicationContext();
        UserInfo userInfo = (UserInfo) applicationContext.getBean("userInfo");
        System.out.println(userInfo);

        //保持程序一直运行
        System.in.read();
    }
}
